package com.drinkian.business.good.service;

import com.drinkian.business.good.entity.po.Good;
import com.drinkian.business.good.entity.vo.VGoodAdd;
import com.drinkian.entity.RequestResult;

public interface IGoodService {
    RequestResult addGood(VGoodAdd vGoodAdd);
    RequestResult getGoodList(int current, int size);
    RequestResult searchGood(String name);
    RequestResult getGoodListByUploaderId(int id, int current, int size);
    RequestResult deleteGoodById(int id);
    RequestResult updateGood(Good good);
    RequestResult getUncheckGoodList(Integer current, Integer size);
    RequestResult examUncheckGood(Integer goodId, Integer code);
}
